class Student:

    def __init__(self, name, age):
        self.name = name
        self.age = age

    def __str__(self):
        return f"{self.name}, {self.age}"

    def __lt__(self, other):
        return self.age < other.age

    def __le__(self, other):
        return self.age <= other.age


stu1 = Student("张国强", 18)
stu2 = Student("张小强", 19
               )

print(stu1 <= stu2)